home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / 4th86_v4.zip / TEST.ASM < prev    next >
Assembly Source File  |  1993-12-17  |  781b  |  60 lines

  1. cseg    segment byte
  2.     assume cs:cseg,ds:cseg,es:cseg
  3.  
  4.     asm    =    4    ;dictionary entry flags
  5.     const    =    10h
  6.     immed    =    0
  7.     cr    equ    0dh
  8.     lf    equ    0ah
  9.  
  10.     org    100h    
  11. start:
  12.     org    200h
  13. thread:    nop
  14.  
  15.     include orgfile
  16.  
  17. first:    mov    dx,offset msg1
  18.     call    prmsg
  19.     jmp    thread
  20.  
  21. second:    mov    dx,offset msg2
  22.     call    prmsg
  23.     jmp    thread
  24.  
  25. third:    mov    dx,offset msg3
  26.     call    prmsg
  27.     jmp    thread
  28.  
  29. prmsg:    mov    ah,9
  30.     int    21h
  31.     ret
  32.  
  33. msg1    db    ' this is message one ',cr,lf,'$'
  34. msg2    db    ' this is message two ',cr,lf,'$'
  35. msg3    db    ' this is message three ',cr,lf,'$'
  36.  
  37.     db    'binload endproc '
  38.  
  39.     db     f - e
  40. e    db    'THIRD'
  41. f    db    immed
  42.     dw    third
  43.  
  44.     db     d - c
  45. c    db    'SECOND'
  46. d    db    immed
  47.     dw    second
  48.  
  49.     db     b - a
  50. a    db    'FIRST'
  51. b    db    immed
  52.     dw    first
  53.  
  54.     db    'binload_endfile '
  55.  
  56.                  
  57. cseg    ends
  58.     end    start
  59.  
  60.